<template>
  <van-nav-bar
    title="订单结算"
    left-text="返回"
    left-arrow
    fixed
    @click-left="onBack"
  />
  
  <Footer v-if="action !== 'cart'" />
</template>
<script setup>
import Footer from 'components/common/Footer.vue';
import {getCurrentInstance,} from 'vue';
const {proxy} = getCurrentInstance();

const onBack = () => {
    proxy.$router.back();
};
</script>
